home *** CD-ROM | disk | FTP | other *** search
/ Artworks - Keep it Simple 1 / Artworks - Keep it Simple 1.iso / az / launch.dxr / 00004_moviescript.ls < prev    next >
Encoding:
Text File  |  1997-07-11  |  3.4 KB  |  143 lines

  1. on startMovie
  2.   global hiRes, winver, modal, myDrive, j2736d2937m2382, gVoid
  3.   set textfile to "r53s.txt"
  4.   set myDrive to CheckDrive(textfile)
  5.   set j2736d2937m2382 to "Y7729J3338J3942"
  6.   loadMasterApp()
  7.   set j2736d2937m2382 to gVoid
  8.   set modal to 0
  9.   set winversion to 95
  10.   set MonitorRect to getAt(the deskTopRectList, 1)
  11.   set ScreenWidth to getAt(MonitorRect, 3)
  12.   if ScreenWidth > 640 then
  13.     set hiRes to 1
  14.   else
  15.     set hiRes to 0
  16.   end if
  17.   if hiRes = 0 then
  18.     go("menus")
  19.   else
  20.     go("menub")
  21.   end if
  22. end
  23.  
  24. on CheckDrive weirdfil
  25.   repeat with i = 67 to 90
  26.     set drive to numToChar(i)
  27.     set myThisPath to string(drive & ":\" & weirdfil)
  28.     set myFile to FileIO(mnew, "read", myThisPath)
  29.     if objectp(myFile) then
  30.       myFile(mdispose)
  31.       return drive & ":"
  32.       exit
  33.     end if
  34.   end repeat
  35.   alert(" CheckDrive error")
  36. end
  37.  
  38. on dohead
  39.   global winver, myDrive, modal
  40.   nicekillApp("notepad", "notepad")
  41.   open(myDrive & "\hlfonts\Hlftxt.txt", "notepad.exe")
  42. end
  43.  
  44. on doart
  45.   global modal, winver, myDrive
  46.   nicekillApp("notepad", "notepad")
  47.   if modal = 0 then
  48.     if winver = "95" then
  49.       alert("During installation you will see a dialog box saying, 'Install needs the following disk...' Type in " & myDrive & "\ca95\")
  50.       open(myDrive & "\ca95\install.exe")
  51.     else
  52.       alert("During installation you will see a dialog box saying, 'Install needs the following disk...' Type in " & myDrive & "\ca31\")
  53.       open(myDrive & "\ca31\install.exe")
  54.     end if
  55.   end if
  56. end
  57.  
  58. on doacro
  59.   global modal, winver, myDrive
  60.   nicekillApp("notepad", "notepad")
  61.   alert("The Acrobat reader will allow you to read the Photomorph manuals which can be found on this CD in the file Pm1-man.pdf.")
  62.   open(myDrive & "\acrobat\acroread.exe")
  63. end
  64.  
  65. on dodesign
  66.   global winver, myDrive
  67.   nicekillApp("notepad", "notepad")
  68.   open(myDrive & "\az\Do1st.exe")
  69. end
  70.  
  71. on dophoto
  72.   global winver, myDrive
  73.   nicekillApp("notepad", "notepad")
  74.   open(myDrive & "\PSTUDIO\SETUP.EXE")
  75. end
  76.  
  77. on domorph
  78.   global winver, myDrive
  79.   nicekillApp("notepad", "notepad")
  80.   open(myDrive & "\az\dophot.EXE")
  81. end
  82.  
  83. on dokudo
  84.   global modal, winver, myDrive
  85.   nicekillApp("notepad", "notepad")
  86.   alert("After installing the KUDO Catalog,  you should finish the installation and re-start your computer.")
  87.   open(myDrive & "\startup")
  88.   quit()
  89. end
  90.  
  91. on doreadme
  92.   global winver, myDrive, modal
  93.   nicekillApp("notepad", "notepad")
  94.   open(myDrive & "AZReadme.txt", "notepad.exe")
  95. end
  96.  
  97. on doproduct
  98.   global winver, myDrive, modal
  99.   nicekillApp("notepad", "notepad")
  100.   open(myDrive & "Az\KIS_Desc.wri", "Write.exe")
  101. end
  102.  
  103. on doaztech
  104.   global winver, myDrive, modal
  105.   nicekillApp("notepad", "notepad")
  106.   if modal = 0 then
  107.     open(myDrive & "Az\corpinfo.txt", "notepad.exe")
  108.   end if
  109. end
  110.  
  111. on doexit
  112.   global modal
  113.   nicekillApp("notepad", "notepad")
  114.   if modal = 0 then
  115.     quit()
  116.   end if
  117. end
  118.  
  119. on buttonClicked
  120.   continue()
  121.   set spriteNum to the clickOn
  122.   set upNum to the memberNum of sprite spriteNum
  123.   set upName to the name of member upNum
  124.   set downName to upName & "D"
  125.   set downNum to the number of member downName
  126.   set the memberNum of sprite spriteNum to downNum
  127.   updateStage()
  128.   repeat while the mouseDown
  129.     if rollOver(spriteNum) then
  130.       set the memberNum of sprite spriteNum to downNum
  131.     else
  132.       set the memberNum of sprite spriteNum to upNum
  133.     end if
  134.     updateStage()
  135.   end repeat
  136.   if the memberNum of sprite spriteNum = downNum then
  137.     puppetSound("SwitchP2")
  138.     updateStage()
  139.     return 1
  140.   end if
  141.   return 0
  142. end
  143.